<form action="admin/process/process-edit" id="process-process-edit-form" data-toggle="validate" data-alertmsg="false">
    <div class="bjui-row">

        <div class="row-input">工序名称:{{$info['title']}}</div><br>

        选择工序:<br>
        @foreach ($data as $val)
            <div class="row-input">
                @if (isset($info['sids']) && in_array($val['id'], $info['sids']))
                    <input type="checkbox" checked name="id_arr[]" value="{{$val['id']}}">{{$val['title']}}
                @else
                    <input type="checkbox" name="id_arr[]" value="{{$val['id']}}">{{$val['title']}}
                @endif
                <span style="font-size: 12px;color:#9a9a9a;">
                @if (!empty($val['data']))
                    已包含:
                    @foreach ($val['data'] as $v)
                            {{$v['title']}}&nbsp;&nbsp;
                    @endforeach
                @else
                    关联字段的工序
                @endif
                </span>
            </div><br>
        @endforeach

        <div class="row-input">
            <button type="submit" class="btn-default">保存</button>
        </div>
    </div>
    <input type="hidden" name="id" value="{{$info['id']}}">
    <!--<div class="bjui-pageFooter">
        <ul>
            <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
            <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
        </ul>
    </div>-->
</form>